From: David Woodhouse Date: Tue, 25 Apr 2006 13:07:57 +0000 (+0100) Subject: Include various private files only from within __KERNEL__ in genhd.h X-Git-Tag: archive/raspbian/4.9.13-1+rpi1~10^2~42778^2~76 X-Git-Url: https://dgit.raspbian.org/%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:///%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:/?a=commitdiff_plain;h=34186efc17025520a53a48468338003d238a77d7;p=linux-4.9.git Include various private files only from within __KERNEL__ in genhd.h Signed-off-by: David Woodhouse --- diff --git a/include/linux/genhd.h b/include/linux/genhd.h index 2ef845b35175..3498a0c68184 100644 --- a/include/linux/genhd.h +++ b/include/linux/genhd.h @@ -9,13 +9,7 @@ * */ -#include #include -#include -#include -#include -#include -#include enum { /* These three have identical behaviour; use the second one if DOS FDISK gets @@ -61,6 +55,12 @@ struct partition { #endif #ifdef __KERNEL__ +#include +#include +#include +#include +#include + struct partition { unsigned char boot_ind; /* 0x80 - active */ unsigned char head; /* starting head */